<?php
defined('MCACHE_DEBUG')             || define('MCACHE_DEBUG', false);
defined('MCACHE_DEV_SERVER')        || define('MCACHE_DEV_SERVER', false);
defined('MCACHE_CONNECT_TIMEOUT')   || define('MCACHE_CONNECT_TIMEOUT', 2);

//首页推荐照片
defined('MCACHE_DMZ_ACT_SIGN')    || define('MCACHE_DMZ_ACT_SIGN', 'mcache_act_sign_2011');


/**** getCacheServer start **************************/
function &getCacheServer($const_server)
{

    $ret = array();

    switch ($const_server) 
    {
         case MCACHE_DMZ_ACT_SIGN:  
            $ret[0] = array( 'host' => '10.21.2.135', 'port' => 11212);	
            break;
         default:
            if (MCACHE_DEBUG) { var_dump(func_get_args()); }
    }

    return $ret;
}
?>
